<h1>Editing company <%= link_to "Log out", admin_logout_path %></h1>
<%= form_for(@company) do |f| %>
    <div class="fbgreybox" style="margin-left:250px; width:690px">
      <div class="actions">
        <%= f.submit %>
      </div>
    </div><br />
<% end %>

<%= render 'form' %>

<div class="fbgreybox" style="margin-left:250px; width:690px">
  <%= link_to 'Show', @company %> |
  <%= link_to 'Back', companies_path %>
</div>